package com.sinog.biz.service.business;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
import java.util.Map;

/**
 * @desc 行政区划实现类
 * @author -
 * @date -
 */
@RestController
public interface SearchCodeService {

    /**
     * 根据codeid与codetype，查询 tbsys_code 表
     * @param codeType codeType
     * @param codeId codeId
     * @return List<Map < String,String>>
     */
    @RequestMapping("/search/code/bycodeid")
    List<Map<String,String>> getCodeByCodeId(@RequestParam String codeType,@RequestParam String codeId);

    /**
     * 衔接 - 信息录入 - 查询职业技能详情
     * @param codeType codeType
     * @param pcodeId pcodeId
     * @return List<Map < String,String>>
     */
    @RequestMapping("/search/code/zyjn")
    List<Map<String,String>> echozyjnValue(@RequestParam String codeType,@RequestParam String pcodeId);

    /**
     * 根据罪犯编码获取罪犯名称
     * @param codeIds codeIds
     * @return List<String>
     */
    @RequestMapping("/search/code/CodeName")
    List<String> getCodeNameByCodeIds(@RequestParam List<String> codeIds);
}